<template>
  <div>
    <!-- 放在app中 所有组件都有头部和脚部 -->
    <Header></Header>
    <router-view></router-view>
    <!-- 带有meta属性的Footer 默认隐藏 -->
    <Footer></Footer>
  </div>
</template>

<script>
import Header from "@/components/Header/index.vue";
import Footer from "@/components/Footer/index.vue";

export default {
  name: "App",
  components: {
    Header,
    Footer,
  },
  mounted() {},
  methods: {},
};
</script>

<style lang="less" scoped></style>
